<?
 
$content = file_get_contents('http://localhost/dinty/'.$_GET['page']);  

$doc = new DomDocument;

@$doc->loadHTML($content);

$node = $doc->getElementById("center");
 
echo(($doc->saveHTML($node)));

?>
